﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects.BusinessRules;

namespace BusinessObjects.Person
{
    public class WorkerShiftForEmployees : BusinessObject
    {
        public WorkerShiftForEmployees()
        {
            AddRule(new ValidateRequired("WorkerShiftID"));

            AddRule(new ValidateRequired("EmployeeID"));
        }

        public WorkerShiftForEmployees(string workerShiftId, string employeeId, string description)
            : this()
        {
            WorkerShiftID = workerShiftId;
            EmployeeID = employeeId;
            Description = description;
        }

        public string WorkerShiftID { get; set; }

        public string EmployeeID { get; set; }

        public string Description { get; set; }
    }
}
